﻿using Hangfire;
using Hangfire.Server;
using System;
using System.ComponentModel;
using System.Threading.Tasks;

namespace Core.IService
{
    public interface IHangfireJobService
    {

        /// <summary>
        /// 监控任务
        /// </summary>
        /// <returns></returns>
        [DisplayName("监控任务")]
        //[CustomJobFilter(60, 18000)]
        [Queue("localjobs")]
        Task RiskMonitor(PerformContext context);
    }
}
